home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / sviluppo / svilupp2 / hw2sgfx2.lha / How2UseGfxV39 / smakefile < prev    next >
Makefile  |  1996-11-30  |  1KB  |  33 lines

  1. VERSION = 1
  2.  
  3. CC = sc:c/sc
  4. LD = sc:c/slink
  5.  
  6. DEBUG    = #DEBUG=FF
  7. DEBUGLIB = #lib:debug.lib
  8.  
  9. LDFLAGS    = BATCH noicons # ADDSYM 
  10. OPTS    = # OPT OPTGO OPTPEEP OPTSCHED OPTINLOCAL OPTINL OPTTIME
  11.  
  12. # there is a small but important thing ! ALWAYS set StringSection=code !!!
  13. CFLAGS = nolink data=far ign=93 ign=304 ign=100 ign=161 ign=147
  14.  
  15. all: ball SuperScroll
  16.  
  17. ball:  ball.c smakefile SCoptions
  18.     @Echo "*n*e[1mCompiling *e[0m*e[32m$*.c *e[0m..."
  19.     @BumpRev $(VERSION) $@ 
  20.     @$(CC) $*.c $(CFLAGS) $(DEBUG) $(OPT) to $@
  21.     @$(LD) lib:c.o $*.o copyp2c.o to $@ LIB lib:sc.lib lib:amiga.lib 
  22.  
  23. SuperScroll:  SuperScroll.c ScrollGround.o smakefile SCoptions
  24.     @Echo "*n*e[1mCompiling *e[0m*e[32m$*.c *e[0m..."
  25.     @BumpRev $(VERSION) $@ 
  26.     @$(CC) $*.c $(CFLAGS) $(DEBUG) $(OPT) to $@
  27.     @$(LD) lib:c.o $*.o ScrollGround.o copyp2c.o to $@ LIB lib:sc.lib lib:amiga.lib 
  28.  
  29. ScrollGround.o:  ScrollGround.c smakefile SCoptions
  30.     @Echo "*n*e[1mCompiling *e[0m*e[32m$*.c *e[0m..."
  31.     @BumpRev $(VERSION) $@ 
  32.     @$(CC) $*.c $(CFLAGS) $(DEBUG) $(OPT) to $@
  33.